/* testing rexx command */
address command
work = "pipe:cgi-finger-" || pragma( "ID" )
parse arg user
say "Content-type: text/html"
say ""
Finger = "inet:bin/finger"
Img = ''
num = date('D')*96 + (time('M') % 15)
num2= num % 8
if exists( Finger )
then do
if User = ""
then do
say "
The time is "||time('Civil')||" on "||date('Normal')||" here in Pittsburgh." say "
That means that approximately "||num||" people, "||num2||" of them children, have been killed by guns in the United States so far this year." say '
This is a gateway to "finger". It is written in arexx, and running on an amiga.
'
say 'Type a user@host combination in your browser''s'
say "search dialog.
" end else do say "
" Finger user say "" end end else do say "Cannot find finger on this system." end